package functions;

/**
 * Class for function f(x) = e^x
 * @author Patrick Bauer
 */
public class eX extends AbstractPanel {
    public eX(int colorScheme) {
        super(colorScheme);
       this.setToolTipText("f(x) = e^x von x = -10.0 bis x = 10.0");
    }

    @Override
    public double getY(double x) {
        return Math.pow(Math.E, x);
    }    
   
}
